Repository navigation
pm-stack: split the projector read path out of live.ts (#13053) - #13154
Merged
Merged
Conversation
sources/live.ts was 2532 lines, grandfathered past the 2500-line production limit. The projector section (row mapping, chunked fetches, the latest-comments cache, registry links) moves to sources/projector.ts and the shared getJson helper to sources/http.ts. live.ts re-exports every public name, so importers are unchanged; it is now 2206 lines and leaves the grandfather list. Refs #12671 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 48 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Lands the
sources/live.tssplit that #13053 tracks, rebased onto current main. The original implementation is open PR #12759 (claude/split-live-ts, head4701afae6fda); it sat 478 commits behind main with a dirty merge state, so this PR cherry-picks its single commit onto main and resolves the one conflict.sources/projector.ts: row mapping, chunked item and comment fetches,LatestCommentsCacheand registry links.getJsonhelper moves tosources/http.ts.live.tsre-exports every public name, soserver.tsand the tests keep importing fromlive.ts.live.ts: 2532 → 2206 lines.pm-stack/aggregator/src/sources/live.tsgrandfather entry is removed from.github/scripts/check-production-line-limit.shin this same PR, per the guard's convention. The render.ts (split(pm-stack): render.ts (8,515 lines) under the production line limit (#12671) #13051) and server.ts (split(pm-stack): server.ts (5,251 lines) under the production line limit (#12671) #13052) entries keep their re-pointed issue numbers from PR ci(guard): point pm-stack TypeScript grandfather entries at their split issues #13058 — that is the cherry-pick conflict resolution (the only conflict).Verification (Lane OY, on this branch)
check-production-line-limit.shoutput differs from pristine main by exactly one line — thesources/live.tsGRANDFATHERED warning is gone. The three OVER LIMIT errors are the pre-existing pkgs/id files tracked by production line guard red on main: world_caps.rs, world.rs, world_session/mod.rs over the 2500 limit #13057, identical on main.check-production-line-limit.test.sh— all passed.sources/live(27 files, incl.projector.test.tsandlatest-comments-9781.test.ts): 295 pass / 0 fail afterbun install.generate-digest-kind-6926,gather-quota,meta-renewal,lib-deps): 36 pass / 0 fail with dependencies installed — those failures were the missing install, not this change.Closes #13053
Refs #12671
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.